package com.freejy.ecommunity.web.dto.request;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @author Jerry
 */
public class CommentReqDto
{

    @NotNull
    @Min(1)
    private Long targetId;

    private String showUrls;

    @NotNull
    @Min(0)
    @Max(4)
    private Integer type;

    @Min(0)
    private Long parentId;

    private String content;


    public Long getTargetId() {
        return targetId;
    }

    public void setTargetId(Long targetId) {
        this.targetId = targetId;
    }

    public String getShowUrls() {
        return showUrls;
    }

    public void setShowUrls(String showUrls) {
        this.showUrls = showUrls;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

}
